Here you can find the source of deepClone(int[][] source)
public static int[][] deepClone(int[][] source)
//package com.java2s; public class Main { public static int[][] deepClone(int[][] source) { int[][] result = new int[source.length][]; for (int i = 0; i < source.length; i++) result[i] = source[i].clone(); return result; }/* w ww . j av a 2s. c om*/ public static float[][] deepClone(float[][] source) { float[][] result = new float[source.length][]; for (int i = 0; i < source.length; i++) result[i] = source[i].clone(); return result; } }