class_docstr: Manager for backend model objects
docstr: Clone this model into a new model.
  :param name: Name for the new model
  :param comment: Optional comment for the new model
  :param child: Should the new model be a child of this model (default True)
  :param tags:  Optional tags for the cloned model
  :param task: Creating Task of the Model
  :param ready:  If True, set the true flag for the newly created model
  :return: The new model's ID
docstr_tok: ["Clone","this","model","into","a","new","model",".",":","param","name",":","Name","for","the","new","model",":","param","comment",":","Optional","comment","for","the","new","model",":","param","child",":","Should","the","new","model","be","a","child","of","this","model","(","default","True",")",":","param","tags",":","Optional","tags","for","the","cloned","model",":","param","task",":","Creating","Task","of","the","Model",":","param","ready",":","If","True",",","set","the","true","flag","for","the","newly","created","model",":","return",":","The","new","model","'s","ID"]
code: def clone(
      self,
      name,
      comment=None,
      child=True,
      tags=None,
      task=None,
      ready=True,
  ):
      """
      Clone this model into a new model.
      :param name: Name for the new model
      :param comment: Optional comment for the new model
      :param child: Should the new model be a child of this model (default True)
      :param tags:  Optional tags for the cloned model
      :param task: Creating Task of the Model
      :param ready:  If True, set the true flag for the newly created model
      :return: The new model's ID
      """
      data = self.data
      assert isinstance(data, models.Model)
      parent = self.id if child else None
      extra = (
          {"system_tags": tags or data.system_tags}
          if Session.check_min_api_version("2.3")
          else {"tags": tags or data.tags}
      )
      req = models.CreateRequest(
          uri=data.uri,
          name=name,
          labels=data.labels,
          comment=comment or data.comment,
          framework=data.framework,
          design=data.design,
          ready=ready,
          project=data.project,
          parent=parent,
          task=task,
          **extra,
      )
      res = self.send(req)
      return res.response.id
  
imports: from collections import namedtuple
  from functools import partial
  import six
  from pathlib2 import Path
  from .base import IdObjectBase
  from .util import make_message
  from ..backend_api import Session
  from ..backend_api.services import models, tasks
  from ..storage import StorageManager
  from ..storage.helper import StorageHelper
  from ..utilities.async_manager import AsyncManagerMixin
label_desc: Use image node_id 31 for calling the Model obj's underlying member method code with example usage: obj.clone(name, comment, child, tags, task, ready) and returns: res