[FEATURE] better cleanup in PeakMap.extract