@Override public Object clone() { EntryImpl entryImpl = new EntryImpl(); entryImpl.setEntryId(getEntryId()); entryImpl.setCreateDate(getCreateDate()); entryImpl.setFromUserId(getFromUserId()); entryImpl.setToUserId(getToUserId()); entryImpl.setContent(getContent()); entryImpl.resetOriginalValues(); return entryImpl; }