as I understood, the method clone() gives us the ability to copy object (no refernce) in Java. But I also read, that the copy is shallow. So what the point? Which a
clone()
Shallow copy is the default for Object. you can override clone to do a deep copy.