class_docstr: Draw a spline using the given handle coordinates and handle
  codes. The constructor accepts a tuple in format (coords, codes).
  
  Follows format of matplotlib spline definitions as used in
  matplotlib.path.Path with the following codes:
  
  Path.STOP     : 0
  Path.MOVETO   : 1
  Path.LINETO   : 2
  Path.CURVE3   : 3
  Path.CURVE4   : 4
  Path.CLOSEPLOY: 79
class_docstr_tok: ["Draw","a","spline","using","the","given","handle","coordinates","and","handle","codes",".","The","constructor","accepts","a","tuple","in","format","(","coords",",","codes",")",".","Follows","format","of","matplotlib","spline","definitions","as","used","in","matplotlib.path.Path","with","the","following","codes",":","Path.STOP",":","0","Path.MOVETO",":","1","Path.LINETO",":","2","Path.CURVE3",":","3","Path.CURVE4",":","4","Path.CLOSEPLOY",":","79"]
docstr: Clones the object, overriding data and parameters.
  
  Args:
      data: New data replacing the existing data
      shared_data (bool, optional): Whether to use existing data
      new_type (optional): Type to cast object to
      *args: Additional arguments to pass to constructor
      **overrides: New keyword arguments to pass to constructor
  
  Returns:
      Cloned Spline
code: def clone(
      self,
      data=None,
      shared_data=True,
      new_type=None,
      *args,
      **overrides,
  ):
      """Clones the object, overriding data and parameters.
  
      Args:
          data: New data replacing the existing data
          shared_data (bool, optional): Whether to use existing data
          new_type (optional): Type to cast object to
          *args: Additional arguments to pass to constructor
          **overrides: New keyword arguments to pass to constructor
  
      Returns:
          Cloned Spline
      """
      return Element2D.clone(
          self, data, shared_data, new_type, *args, **overrides
      )
  
imports: from numbers import Number
  import numpy
  import param
  from ..core import Dimension, Element, Element2D
  from ..core.data import Dataset
  from ..core.util import datetime_types
label_desc: Use image node_id 2 for calling the Spline obj's underlying member method code with example usage: obj.clone(data, shared_data, new_type) and returns: Element2D