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

Hmm.. what is the reason why need this ? AFAIR we dont have any ajax in the template editor?