newList.add( ( ( Attributes ) i.next() ).clone() );
newList.add( ( ( Entry ) i.next() ).clone() );
    public static List getClonedAttributesList( List list )    {        List newList = new ArrayList();        Iterator i = list.iterator();        while ( i.hasNext() )        {            newList.add( ( ( Attributes ) i.next() ).clone() );        }        return newList;    }