Here you can find the source of clone(List
public static <E extends Object> List<E> clone(List<E> in)
//package com.java2s; //License from project: Open Source License import java.util.ArrayList; import java.util.List; public class Main { public static <E extends Object> List<E> clone(List<E> in) { ArrayList<E> out = new ArrayList<E>(in.size()); out.addAll(in);/*from w w w . java2 s.co m*/ return out; } }