isEqual method implemented; clone to edit