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