this.waitLock = waitLock;
}
@Override
protected DeepCopyResult doInBackground() throws Exception {
EntityCopyMachine shallowCopier = new EntityCopyMachine();
copier = new DeepEntityCopyMachine(shallowCopier, resources, project.getItemLookup());
copier.setItemsToExclude(itemsToExclude);
copier.setDeleteHandler(deleteHandler);
return copier.clone(item);
}