add 'duplicates' method to DatasetCollection and SimulationDatabase