Implement DuplicatesBy::fold
#921
+15
−0
Open
DuplicatesBy::fold
#921