class_docstr: Base class for representing an objective.
  
  Attributes:
      minimize: If True, minimize metric.
class_docstr_tok: ["Base","class","for","representing","an","objective",".","Attributes",":","minimize",":","If","True",",","minimize","metric","."]
docstr: Create a copy of the objective.
docstr_tok: ["Create","a","copy","of","the","objective","."]
code: def clone(self) -> Objective:
      """Create a copy of the objective."""
      return Objective(self.metric.clone(), self.minimize)
  
imports: from __future__ import annotations
  import warnings
  from logging import Logger
  from typing import Any, Iterable, List, Optional, Tuple
  from ax.core.metric import Metric
  from ax.utils.common.base import SortableBase
  from ax.utils.common.logger import get_logger
  from ax.utils.common.typeutils import not_none
label_desc: Use image node_id 5 for calling the Objective obj's underlying member method code with example usage: obj.clone() and returns: Objective