title: ArrayList clone still referenced?
body: <p>i know that ArrayList objects are only passed as reference, and i found a lot of articles here about that topic.</p>
  
  <p>Still, even with cloning the ArrayList to a temporary one nor with copying the Point[] out of it, i can get it working. What am i doing wrong? 
  The target should be to have a separate ArrayList in </p>
  
  <pre><code>// setting class
  public ArrayList&lt;Point[]&gt; getAstroidForms(){
      return astroidForms;
  }
  
  // class where i want to have a list of Point[] 
  // that i can modify without changing the objects in the settings class
  for (Point[] foo: settings.getAstroidForms()) {
      Point[] parr = new Point[foo.length];
      System.arraycopy(foo, 0, parr, 0, foo.length);
      forms.add(parr);
  }
  </code></pre>
  
  <p>as written above i also tried the following: 
  Cloning the astroidsForms and returning it in the getAstroidForms method, but again the objects that are modified in the second class seem only to be referenced.</p>
  
  <p>Many thanks for any help provided!</p>