SharedArray of custom types

Is there anyway to create SharedArray of some custom Type?

I.e. I would like to do the following

Type Foo
    a::Int64
end

b = SharedArray{Foo,2}((2))

b[2].a = 3

Eltype of shared arrays need to be isbits. This works:

julia> struct Foo
           a::Int64
       end

       b = SharedArray{Foo,1}((2,))
       
       b[2] = Foo(3)                                                                                                                                                     
Foo(3)                                                                                                                                                                   

julia> b                                                                                                                                                                 
2-element SharedArray{Foo,1}:                                                                                                                                            
 Foo(0)                                                                                                                                                                  
 Foo(3)