'_.toArray' now checks whether the iterable object contains a 'toArray' method to delegate to.(cherry picked from commit 3c0b7125a70222448e2d83a7c503d3f4fd2fdd45)