Add get_seed method to varray to share global seed