refs #15, isEqualTo with generics