Array prototype extensions