Why all that for the array case? Couldn't you just do `_.map(obj, _.identity)`?