public static LeafNodeVector<Optional<Path>, OptionalPathNode> createOptionalPathNodeVector(Collection<Optional<FileReference>> values) {
        List<Optional<Path>> paths = new ArrayList<>();
        for (Optional<FileReference> fileReference : values)
            paths.add(fileReference.map(reference -> Paths.get(reference.value())));
        return new LeafNodeVector<>(paths, new OptionalPathNode());
    }
Creates a new Node by cloning the default node.
config-lib/src/main/java/com/yahoo/config/LeafNodeVector.java