code: func NewOrderedSetFromSlice(s []string) *OrderedSet {
  	set := NewOrderedSetWithCapacity(len(s))
  	for _, e := range s {
  		set.Add(e)
  	}
  
  	return set
  }
docs: // NewOrderedSetFromSlice returns a new ordered set with the elements given in
  // the slice "s".