class_docstr: Sankey is an acyclic, directed Graph type that represents the flow
  of some quantity between its nodes.
class_docstr_tok: ["Sankey","is","an","acyclic",",","directed","Graph","type","that","represents","the","flow","of","some","quantity","between","its","nodes","."]
code: def clone(
      self,
      data=None,
      shared_data=True,
      new_type=None,
      link=True,
      *args,
      **overrides,
  ):
      if data is None:
          overrides["sankey"] = self._sankey
      return super().clone(
          data, shared_data, new_type, link, *args, **overrides
      )
  
imports: import math
  from functools import cmp_to_key
  from itertools import cycle
  import numpy
  import param
  from ..core.data import Dataset
  from ..core.dimension import Dimension
  from ..core.operation import Operation
  from ..core.util import get_param_values, unique_array
  from .graphs import EdgePaths, Graph, Nodes
  from .util import quadratic_bezier
label_desc: Use image node_id 2 for calling the Sankey obj's underlying member method code with example usage: obj.clone(data, shared_data, new_type, link) and returns: super