Fixed a bug when calling `is` with identical args

`is(x, x)` could return false if `x` is an object