class_docstr: NdLayout is a UniformNdMapping providing an n-dimensional
  data structure to display the contained Elements and containers
  in a layout. Using the cols method the NdLayout can be rearranged
  with the desired number of columns.
class_docstr_tok: ["NdLayout","is","a","UniformNdMapping","providing","an","n-dimensional","data","structure","to","display","the","contained","Elements","and","containers","in","a","layout",".","Using","the","cols","method","the","NdLayout","can","be","rearranged","with","the","desired","number","of","columns","."]
docstr: Clones the NdLayout, 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 NdLayout object
code: def clone(self, *args, **overrides):
      """Clones the NdLayout, 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 NdLayout object
      """
      clone = super().clone(*args, **overrides)
      clone._max_cols = self._max_cols
      clone.id = self.id
      return clone
  
imports: import numpy
  import param
  from .None import traversal
  from .dimension import Dimension, Dimensioned, ViewableElement, ViewableTree
  from .ndmapping import NdMapping, UniformNdMapping
label_desc: Use image node_id 7 for calling the NdLayout obj's underlying member method code with example usage: obj.clone() and returns: clone