Don't call deep_copy for strings, terms and paths

Fixes #29.
Merge branch 'less-deep-copy'