Support to use sub-element of clone and fix to clear out sub-template clones before mutating