InMemoryFormat.CACHED will use equals of the object in object-format, not of the binary format.