Standard LibraryTypesObjectMethodscloneOn this pageclone Method of Object. clone() -> Object Creates a deep copy of an object, including its attributes.