Nextfloat is slower on 2D array than on 1D array

for a slightly better MWE:

julia> function test3(data::Array{Float64})
           output = copy(data)
           for i in eachindex(output)
               output[i] = nextfloat(output[i])
           end
           return output
       end
julia> @benchmark test3(arr_1D)
BenchmarkTools.Trial: 92 samples with 1 evaluation per sample.
 Range (min … max):  45.105 ms … 87.348 ms  ┊ GC (min … max):  1.90% … 42.24%
 Time  (median):     49.644 ms              ┊ GC (median):     4.18%
 Time  (mean ± σ):   54.777 ms ± 11.319 ms  ┊ GC (mean ± σ):  13.74% ± 13.55%

   ▂ ▅▇█▄▄                                                     
  ▆███████▆▆▃▃▃▁▁▅▃▁▃▁▁▁▁▁▃▁▁▁▁▁▁▁▁▁▁▁▃▅▅▃▁▃▃▃▇▅▁▁▃▁▁▁▁▁▁▁▁▁▃ ▁
  45.1 ms         Histogram: frequency by time        87.3 ms <

 Memory estimate: 68.66 MiB, allocs estimate: 2000006.

julia> @benchmark test3(arr_2D)
BenchmarkTools.Trial: 46 samples with 1 evaluation per sample.
 Range (min … max):   92.110 ms … 151.183 ms  ┊ GC (min … max):  1.77% … 21.01%
 Time  (median):     106.151 ms               ┊ GC (median):     5.72%
 Time  (mean ± σ):   109.749 ms ±  14.033 ms  ┊ GC (mean ± σ):  10.83% ±  7.46%

     ▄▄▄▁   █▁  █ ▄    ▁▁               ▁▁                       
  ▆▁▆████▁▆▁██▆▁█▆█▁▆▆▁██▁▁▁▁▆▁▁▁▁▁▁▁▆▆▁██▁▆▁▁▆▁▁▆▁▁▁▁▁▁▁▁▁▁▁▁▆ ▁
  92.1 ms          Histogram: frequency by time          151 ms <

 Memory estimate: 129.70 MiB, allocs estimate: 4000008.