def duplicate(self):
a_per = self.analysis_period.duplicate() if self.analysis_period else None<EOL>return self.__class__(self.data_type, self.unit,<EOL>a_per, deepcopy(self.metadata))<EOL>
Return a copy of the header.