Which type of cloning involves creating a copy of an object along with all the objects it contains?
Explanation
Deep cloning creates an exact replica of an object as well as all the objects it references. In contrast, shallow cloning copies only the top-level object, leaving referenced objects shared between the original and the clone.