code: def __init__(
      self, keep: Literal["first", "last", False] = "first"
  ) -> None:
      self.keep = keep
  
file_path: pygraphistry/graphistry/compute/predicates/categorical.py
imports: from typing import Any, TYPE_CHECKING
  from typing_extensions import Literal
  import pandas
  from .ASTPredicate import ASTPredicate
label_desc: Use image node_id 1 to create a new Duplicated object from inherited base classes: ASTPredicate with example: obj = Duplicated(keep)