Makes IsSameReferenceThan, IsDistinctFrom, HasFieldsWithSameValues and HasNotFieldsWithSameValues checks now able to conserve the checked typed (instead of loosing it by converting it into a object).