php does php create a new instance when copying code example Example: php clone object $objectB = clone $objectA;