ir: Add copy helper
ir: Add new Template Store Kind
semantic: Gather mixins as templates