@Override
  public Class<?> loadClass(String name) throws ClassNotFoundException {
    if (shouldDuplicate.test(name)) {
      Class<?> c = findLoadedClass(name);
      if (c == null) {
        byte[] b = loadClassFromFile(name);
        return defineClass(name, b, 0, b.length);
      }
    }
    return super.loadClass(name);
  }
Returns a {@link ClassLoader} that loads every class with a name starting with {@code prefix} even if the parent
has already loaded it.
planetiler-core/src/main/java/com/onthegomap/planetiler/util/DuplicateClassLoader.java