Implemented cloneable interface.