--TEST-- Clone with error cases --FILE-- getMessage(), PHP_EOL; } ?> --EXPECT-- TypeError: clone(): Argument #2 ($withProperties) must be of type array, int given