deepcopy in recovery