Added basic tag duplication support (fixes #160). Currently only duplicates tag data and doesn't recurse or duplicate any referenced resources, strings, etc.