Merging on trees with value semantics.

svn path=/sandbox/; revision=83164