To limit the operation to a source, see Clearing Strokes on a Source.
You can clear all strokes from the result image and output matte at the current frame or all frames.To clear strokes from the canvas:
(a) Clear Canvas option box
The strokes are removed from the result image.