Create resample() on DataObject and DataObjectCollection
Bugfix
Tweaks to resample()