Replaces the cell at x with a clone of cell.
x
cell
void replaceWithClone(int x, Cell cell) => replace(x, cell.clone());