when use clone php code example Example: php clone //Copies an existing object $objectA = clone $objectB;