Add copy constructor for TemplateConfiguration