SudokuModel now uses Arrays.copyOf instead of clone() to avoid casting.