Make util.recursive_merge copy objects