extend() should not copy prototype extensions in arrays