//Copies an existing object $objectA = clone $objectB;
$b = $a $b = array_merge(array(), $a); // reindex the array