Fix heat templates cloning