copy method

PipelineMock copy()

Implementation

PipelineMock copy() => PipelineMock(List.of(pre), List.of(post));