inline copy of deepcopy
3.0.4