code: public static <E> LinkedHashMultiset<E> create(Iterable<? extends E> elements) {
      LinkedHashMultiset<E> multiset = create(Multisets.inferDistinctElements(elements));
      Iterables.addAll(multiset, elements);
      return multiset;
    }
docs: Creates a new {@code LinkedHashMultiset} containing the specified elements.
  
  <p>This implementation is highly efficient when {@code elements} is itself a {@link Multiset}.
  
  @param elements the elements that the multiset should contain