What is a substitute for DatasetFormatter() in Fastai v2

Hello, I’ve been using DatasetFormatter() class from vision widgets for the purpose if determining image duplicates in a dataset, link to the class: https://fastai1.fast.ai/widgets.image_cleaner.html
However, this functionality seems to be removed in Fastai v2? I am currently using fastai 2.2.7. Is there a different class in place of DatasetFormatter()? Or what functionality will allow me to check dataset for duplicate images. Would appreciate if you point me to appropriate resources.

Thanks,