public boolean isSafeToReuse(Object obj) {
return false;
}
};
SafeCloningRepository safeToReuse = new SafeCloningRepository(safeClone);
DataContainer container = new DataContainer(null, null, safeToReuse, false);
ObjectOutput output = container.getOutput();
output.writeObject(dataObject);
output.flush();