First, read this:
http://dashohoxha.fs.al/deduplicating-data-with-xfs-and-reflinks/
Then, some adds:
I recommand the use of fdupes
to really save space used by all duplicated files. duperemove
can miss some of them.
fdupes -r . | duperemove --fdupes