Changed merge key inheritance to clone source object instead of re-using it, so that overrides in target don't affect values in source.