cf.Domain.copy¶
-
Domain.
copy
(data=True)[source]¶ Return a deep copy.
d.copy()
is equivalent tocopy.deepcopy(d)
.New in version (cfdm): 1.7.0
See also
- Parameters
- data:
bool
, optional If False then do not copy data. By default data are copied.
- data:
- Returns
Domain
The deep copy.
Examples:
>>> d = cf.Domain() >>> e = d.copy() >>> e.equals(d) True >>> e is d False