[Value] Fix: All SharedArray member functions should be inline.
[Value] Add SharedArray constructor from an iterator and count n.