class_docstr: Image represents a regularly sampled 2D grid of an underlying
  continuous space of intensity values, which will be colormapped on
  plotting. The grid of intensity values may be specified as a NxM
  sized array of values along with a bounds, but it may also be
  defined through explicit and regularly spaced x/y-coordinate
  arrays of shape M and N respectively. The two most basic supported
  constructors of an Image therefore include:
  
      Image((X, Y, Z))
  
  where X is a 1D array of shape M, Y is a 1D array of shape N and
  Z is a 2D array of shape NxM, or equivalently:
  
      Image(Z, bounds=(x0, y0, x1, y1))
  
  where Z is a 2D array of shape NxM defining the intensity values
  and the bounds define the (left, bottom, top, right) edges of four
  corners of the grid. Other gridded formats which support declaring
  of explicit x/y-coordinate arrays such as xarray are also
  supported.
  
  Note that the interpretation of the orientation of the array
  changes depending on whether bounds or explicit coordinates are
  used.
class_docstr_tok: ["Image","represents","a","regularly","sampled","2D","grid","of","an","underlying","continuous","space","of","intensity","values",",","which","will","be","colormapped","on","plotting",".","The","grid","of","intensity","values","may","be","specified","as","a","NxM","sized","array","of","values","along","with","a","bounds",",","but","it","may","also","be","defined","through","explicit","and","regularly","spaced","x\/y-coordinate","arrays","of","shape","M","and","N","respectively",".","The","two","most","basic","supported","constructors","of","an","Image","therefore","include",":","Image","(","(","X",",","Y",",","Z",")",")","where","X","is","a","1D","array","of","shape","M",",","Y","is","a","1D","array","of","shape","N","and","Z","is","a","2D","array","of","shape","NxM",",","or","equivalently",":","Image","(","Z",",","bounds=","(","x0",",","y0",",","x1",",","y1",")",")","where","Z","is","a","2D","array","of","shape","NxM","defining","the","intensity","values","and","the","bounds","define","the","(","left",",","bottom",",","top",",","right",")","edges","of","four","corners","of","the","grid",".","Other","gridded","formats","which","support","declaring","of","explicit","x\/y-coordinate","arrays","such","as","xarray","are","also","supported",".","Note","that","the","interpretation","of","the","orientation","of","the","array","changes","depending","on","whether","bounds","or","explicit","coordinates","are","used","."]
docstr: Returns a clone of the object with matching parameter values
  containing the specified args and kwargs.
  
  If shared_data is set to True and no data explicitly supplied,
  the clone will share data with the original. May also supply
  a new_type, which will inherit all shared parameters.
docstr_tok: ["Returns","a","clone","of","the","object","with","matching","parameter","values","containing","the","specified","args","and","kwargs",".","If","shared_data","is","set","to","True","and","no","data","explicitly","supplied",",","the","clone","will","share","data","with","the","original",".","May","also","supply","a","new_type",",","which","will","inherit","all","shared","parameters","."]
code: def clone(
      self,
      data=None,
      shared_data=True,
      new_type=None,
      link=True,
      *args,
      **overrides,
  ):
      """
      Returns a clone of the object with matching parameter values
      containing the specified args and kwargs.
  
      If shared_data is set to True and no data explicitly supplied,
      the clone will share data with the original. May also supply
      a new_type, which will inherit all shared parameters.
      """
      if data is None and (
          new_type is None or issubclass(new_type, Image)
      ):
          sheet_params = dict(
              bounds=self.bounds,
              xdensity=self.xdensity,
              ydensity=self.ydensity,
          )
          overrides = dict(sheet_params, **overrides)
      return super().clone(
          data, shared_data, new_type, link, *args, **overrides
      )
  
imports: import colorsys
  from copy import deepcopy
  from operator import itemgetter
  import numpy
  import param
  from ..core import Dataset, Dimension, Element2D, Overlay, config, util
  from ..core.boundingregion import BoundingBox, BoundingRegion
  from ..core.data import ImageInterface
  from ..core.data.interface import DataError
  from ..core.dimension import dimension_name
  from ..core.sheetcoords import SheetCoordinateSystem, Slice
  from .chart import Curve
  from .geom import Selection2DExpr
  from .graphs import TriMesh
  from .tabular import Table
  from .util import categorical_aggregate2d, compute_slice_bounds
label_desc: Use image node_id 3 for calling the Image obj's underlying member method code with example usage: obj.clone(data, shared_data, new_type, link) and returns: super