def duplicate(self):
        """Return a copy of the current Data Collection."""
        collection = self.__class__(self.header.duplicate(), self.values, self.datetimes)
        collection._validated_a_period = self._validated_a_period
        return collection
Return a copy of the current Data Collection.