thanks. I managed to create a small app to help me cleaning up duplicated images and decided to public it for anyone who encounters the same issue to use for free here https://github.com/vinhhapm/mac_cloned_duplicated_heic_jpg_remover
All you need to do is click the Download button above on this page to download it, then unzip and launch the Cloned - Duplicated HEIC JPG Remover.app



Select the first option if you want to delete the duplicated JPG images and keep the HEIC ones. I prefer this option because JPG are ways heavier than HEIC and this could help saving me a lot of disk space on my Macbook 's SSD. I was able to reclaim about 30GB of free space after removing all duplicated JPG images, which is a lot. In case you want to delete HEIC images and keep the JPG ones, you can select 2nd option
Next step is to select a folder that contain those images, in this version it only works with images under the parent folder that you selected, so if that folder has sub-folders and there are other images in them, those will be skip.

You may need to allow the tool to access your Finder, so that it can be able to find and delete duplicated/cloned images

Once it's done, you will see a pop up showing how many duplicated images have been deleted.

Those deleted images actually are still in your Trash, so you can open it to verify and then empty it once you are sure those are the duplicated images you want to remove
