Added methods equals, hashCode and clone