Merge two objects recursively into a new object.