Hans Mackowiak wrote in post #1010878:
> like Brian says:
>
> cc2 = Marshal.load(Marshal.dump(aa2))

In this particular case #map also works because we know the depth to be 
two levels:

arr = [[1,2], [3,4], [5,6]]
copy = arr.map {|a| a.dup}

Cheers

robert

-- 
Posted via http://www.ruby-forum.com/.