Fdupes does that too
I say unfortunately because before writing duphard, I tested fdupes and a couple other utilities (duff and duperemove) but none offered the functionality I needed.
-L --linkhard hard link all duplicate files without prompting