#include <fontconfig.h>
FcPattern * FcPatternDuplicate(const FcPattern *p);
FcPattern * FcPatternDuplicate
Copy a pattern, returning a new pattern that matches p. Each pattern may be modified without affecting the other.
Fontconfig version 2.8.0