postgkyl.GData.clone

GData.clone(metadata_only=False)

Deep-copy without re-reading. Builds type(self) so subclasses (e.g. the fluent GData) propagate through every verb result.

Set metadata_only=True to omit the grid and values from the copy.