code: public static BasicTagList copyOf(Map<String, String> tags) {
      SmallTagMap.Builder builder = SmallTagMap.builder();
      for (Map.Entry<String, String> tag : tags.entrySet()) {
        builder.add(Tags.newTag(tag.getKey(), tag.getValue()));
      }
      return new BasicTagList(builder.result());
    }
docs: Returns a tag list that has a copy of {@code tags}.