mootools/mootools-core — pull request #2346 by kentaromiura (2012-04-09 22:22:01+00:00)
Title: fix for Issue #2230

had to check if every result is element, otherwise it will break Element.toQueryString

I checked, using Array.forEachMethod, if other methods return typeOf 'array'
and found two other methods other than map, splice and slice.
With this patch I address the clone() but not the flatten() method, because i think the latter should correctly return an array.