code: def clone(self, name=None, using=None):
          
          i = Index(name or self._name, using=using or self._using)
          i._settings = self._settings.copy()
          i._aliases = self._aliases.copy()
          i._analysis = self._analysis.copy()
          i._doc_types = self._doc_types[:]
          if self._mapping is not None:
              i._mapping = self._mapping._clone()
          return i
docs: Create a copy of the instance with another name or connection alias.
          Useful for creating multiple indices with shared configuration::
  
              i = Index('base-index')
              i.settings(number_of_shards=1)
              i.create()
  
              i2 = i.clone('other-index')
              i2.create()
  
          :arg name: name of the index
          :arg using: connection alias to use, defaults to ``'default'``