I'm pretty sure some of them also work on MacOS. rmlint[1], for example can output a script that reflinks duplicates (or run any script for both files):
rmlint -c sh:handler=reflink .
I'm not sure if reflink works out of the box, but you can write your own alternative script that just links both files
[1]: https://github.com/sahib/rmlint