Fixes #13: Ability to duplicate templates