Static array with uniform distribution

Hello,

I would like to know how to generate a static array with a uniform distribution (-2, 2).

Here is an example:

using StaticArrays
using Distributions

@SVector(randn(5))      # works

rand(Uniform(-2, 2), 5)  # works

@SVector(rand(Uniform(-2, 2), 5)) # does not work
(rand(SVector{5, Float64}) .- 0.5) .* 4

should work.