final Contact clone = contact.clone();
clone.getName().setGivenName(clone.getName().getGivenName() + "-Clone");
clone.getName().setFamilyName(clone.getName().getFamilyName() + "-Clone");
clone.setNickname(clone.getNickname() + "-Clone");
clone.setDisplayName(clone.getDisplayName() + "-Clone");
clone.save(new Callback() {
@Override
public void onSuccess() {
text.setHTML(clone.getNickname() +
" (" + clone.getName().getGivenName() +
" " + clone.getName().getFamilyName() +