rem: var item = (originalItem.isMutable) ? originalItem : originalItem.clone(); 
add: var item = originalItem.clone(); 
context: function saveItem(){  // if this event isn't mutable, we need to clone it like a sheep  var originalItem = window.calendarItem;  var item = (originalItem.isMutable) ? originalItem : originalItem.clone();  // override item's recurrenceInfo *before* serializing date/time-objects.  if(!window.isOccurrence)    item.recurrenceInfo = window.recurrenceInfo;  // serialize the item  saveDialog(item);  // we set the organizer of this item only if  // it is a stand-alone instance [not an occurrence].  if(!window.isOccurrence)    item.organizer = window.organizer;  // TODO: we set the array of attendees for the new item  // regardless of it being an occurrence or not. probably  // this is not correct.  if(window.attendees) {    item.removeAllAttendees();    for each(var attendee in window.attendees) {       item.addAttendee(attendee);    }  }      return item;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/15ba22dbeda2a71db6c91474cb2573e14898a910/sun-calendar-event-dialog.js/clean/calendar/prototypes/wcap/sun-calendar-event-dialog.js