Implemented equals and clone for BlockData