Just call isEqual: in RKObjectEqualToObject:; I believe the implementations will do essentially the same thing if necessary, which could avoid a series of isKindOfClass: calls.  In my use case this measured out to be marginally faster.
Merge pull request #2091 from carllindberg/2065-RKObjectIsEqualToObject

Tiny speedup in RKObjectIsEqualToObject