- print_r: documentation ( source)
<?php
$node = new stdClass();
$vals = array('und' => array(0 => array('value' => 'test')));
$node->field_test = &$vals;
$clone = clone $node;
$clone->field_test['und'] = array(0 => array('value' => 'modified'));
print_r($node);
print_r($clone);