It is possible to use Sourcery to generate the NSCopying and NSMutableCopying implementations for simple cases, or even more advanced cases.
In this section, we'll cover different stencils for Sourcery that may help when implementing NSCopying and NSMutableCopying protocols in the prototype pattern.