Add deep_copy calls missing because of a Y2R bug

See https://github.com/yast/y2r/issues/47.
Merge pull request #4 from yast/fix-deep-copy

Add deep_copy calls missing because of a Y2R bug