Right now, `sample` only works with `Hist1D`, I am wondering if there is any reason to not support 2d/3d? Also, I feel like we could directly extend `StatsBase.sample`, since `sample` is exported and may conflict when user also uses `StatsBase`