While we're here, could we change this to `Some(pipeline) => pipeline.clone()` for clarity?