rem: newItem = aItem.clone(); 
add: var newItem = aItem.clone(); 
context:     addItem: function (aItem, aListener) {        if (aItem.id == null) {            // is this an error?  Or should we generate an IID?            aItem.id = "uuid:" + (new Date()).getTime();        } else {            var olditem = this.getItemById(aItem.id);            if (olditem) {                if (aListener)                    aListener.onOperationComplete (this,                                                   Components.results.NS_ERROR_FAILURE,                                                   aListener.ADD,                                                   aItem.id,                                                   "ID already exists for addItem");                return;            }        }        newItem = aItem.clone();        newItem.parent = this;        newItem.generation = 1;        newItem.makeImmutable();        dump ("about to flushItem\n");        this.flushItem (newItem, null);        dump ("after flushItem\n");        // notify the listener        if (aListener)            aListener.onOperationComplete (this,                                           Components.results.NS_OK,                                           aListener.ADD,                                           newItem.id,                                           newItem);        // notify observers        this.observeAddItem(newItem);    },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/9a9719b366d04d5db90dfcb7e370af554ae5c045/calStorageCalendar.js/clean/calendar/providers/storage/calStorageCalendar.js