Added a closure executed when items are equal.