Define deep copy.
Deep copy creates an independent and new copy of an object and even copies all the nested objects of the original element recursively.
Deep copy creates an independent and new copy of an object and even copies all the nested objects of the original element recursively.