Implemented equals and clone methods