code: def clone(gandi, name, vhost, directory, origin):
      
      if vhost != 'default':
          directory = vhost
      else:
          directory = name if not directory else directory
  
      return gandi.paas.clone(name, vhost, directory, origin)
docs: Clone a remote vhost in a local git repository.