@Override
    public final TreeFilter clone() {
        return new PathRegexPatternTreeFilter(this.pattern);
    }
This is {@link PathRegexPatternTreeFilter}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-git-core/src/main/java/org/apereo/cas/git/PathRegexPatternTreeFilter.java