src code

instance method Array#clone

Array#clone() → Array

Returns a duplicate of the array, leaving the original array intact.

Aliased as: Array#toArray