feature #1664: Add instantiate simple template: now name and cardinality can be changed