PatternSpec.copy

Copies pspec in a new #GPatternSpec.

Returns

a copy of pspec.