Deep copy arrays with $.extend()  (github bug #696)