Removed clone() call in favor of shallow copy for Array lib calls.