add option to perform deep copy on default-dup