Creating bitwise exact copy of an existing object is called cloning. example obtaining exact copy of a plant, a bird, an animal or a human being is called cloning.
cloning is of 2 types:
shallow cloning :
In shallow cloning any modifications done through the cloned object will also modify the original object.
In deep cloning any modications to the cloned object will not affect the original object. This is called deep cloning.