class_docstr: Base class for all other agents.
class_docstr_tok: ["Base","class","for","all","other","agents","."]
docstr: Make a shared copy of this agent.
  
  Should be the same as using create_agent_from_shared(.), but slightly easier.
docstr_tok: ["Make","a","shared","copy","of","this","agent",".","Should","be","the","same","as","using","create_agent_from_shared","(",".",")",",","but","slightly","easier","."]
code: def clone(self):
      """
      Make a shared copy of this agent.
  
      Should be the same as using create_agent_from_shared(.), but slightly easier.
      """
      return type(self)(self.opt, self.share())
  
imports: import copy
  from typing import List, Union
  from parlai.core.build_data import modelzoo_path
  from parlai.core.loader import load_agent_module
  from parlai.core.loader import register_agent
  from parlai.core.message import Message
  from parlai.core.opt import Opt
  from parlai.utils.misc import warn_once
  import parlai.utils.logging
  from parlai.utils.io import PathManager
label_desc: Use image node_id 9 for calling the Agent obj's underlying member method code with example usage: obj.clone() and returns: type