creates a deep copy of the provided object
var backupEvent = scheduler.copy(scheduler.getEvent(id));
added in version 6.0