clone and autocomplete