class_docstr: Base class for defining arms.
  
  Randomization in experiments assigns units to a given arm. Thus, the arm
  encapsulates the parametrization needed by the unit.
docstr: Create a copy of this arm.
  
  Args:
      clear_name: whether this cloned copy should set its
          name to None instead of the name of the arm being cloned.
          Defaults to False.
docstr_tok: ["Create","a","copy","of","this","arm",".","Args",":","clear_name",":","whether","this","cloned","copy","should","set","its","name","to","None","instead","of","the","name","of","the","arm","being","cloned",".","Defaults","to","False","."]
code: def clone(self, clear_name: bool = False) -> "Arm":
      """Create a copy of this arm.
  
      Args:
          clear_name: whether this cloned copy should set its
              name to None instead of the name of the arm being cloned.
              Defaults to False.
      """
      clear_name = clear_name or not self.has_name
      return Arm(
          parameters=self.parameters.copy(),
          name=None if clear_name else self.name,
      )
  
imports: import hashlib
  import json
  from typing import Optional
  from ax.core.types import TParameterization
  from ax.utils.common.base import SortableBase
  from ax.utils.common.equality import equality_typechecker
  from ax.utils.common.typeutils import numpy_type_to_python_type
label_desc: Use image node_id 9 for calling the Arm obj's underlying member method code with example usage: obj.clone(clear_name) and returns: Arm