Added repeat method for strings.
Added array.last() method and fixed small bug in array extending/cloning.