class_docstr: Template class to implement header protocol
class_docstr_tok: ["Template","class","to","implement","header","protocol"]
docstr: Copy object to independent representation
  
  The copy should not be affected by any changes to the original
  object.
docstr_tok: ["Copy","object","to","independent","representation","The","copy","should","not","be","affected","by","any","changes","to","the","original","object","."]
code: def copy(self: SpatialHdrT) -> SpatialHdrT:
      """Copy object to independent representation
  
      The copy should not be affected by any changes to the original
      object.
      """
      return self.__class__(self._dtype, self._shape, self._zooms)
  
imports: from __future__ import annotations
  import io
  import typing
  from collections.abc import Sequence
  from typing import Literal
  import numpy
  from .arrayproxy import ArrayLike
  from .casting import sctypes_aliases
  from .dataobj_images import DataobjImage
  from .filebasedimages import FileBasedHeader, FileBasedImage
  from .fileholders import FileMap
  from .fileslice import canonical_slicers
  from .orientations import apply_orientation, inv_ornt_aff
  from .viewers import OrthoSlicer3D
  from .volumeutils import shape_zoom_affine
label_desc: Use image node_id 4 for calling the SpatialHeader obj's underlying member method code with example usage: obj.copy() and returns: self