fixes #1646, #3103 - enable cloning for templates, and add read-only options

I think we'd need to reproduce the issue, maybe @isratrade has some time to look into it?