Since the APFS release a few years ago, there was no official high-level API to check whether a duplicated file is a clone, meaning it was not using extra storage space, or is a regular copy using the physical storage twice. The new Purple Tree release now is able to deal with clones displaying them with a specific color in “Duplicates” mode, and not counting them as duplicated files.
Among other improvements, Purple Tree 3.4 is now built for both Intel and Apple Silicon architectures.