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

I think an inline ```if locked?``` would fit better here since it's just a one line condition.