From: phlip Date: 2008-07-04T05:47:04+09:00 Subject: Re: How to duplicate elements in array? >> a2 = a.dup + a.clone > > That gives the same result as his example. Indeed - it only cloned the top level of a, which is an array. The rest remained a linked-too object. How to deep clone? > Dunno if you can understand german.. at least the examples are in > english, maybe you understand what is going on despite being unable to > understand anything :-) > > http://forum.ruby-portal.de/viewtopic.php?t=1214 Or try this savage hack: a2 = eval(a.inspect) + a (-: