Added deepcopy extension