def clone(self, new_label):
    transform = copy.copy(self)
    transform.label = new_label
    return transform
Clones the current transform instance under a new label.
dataset/ETHPy150Open GoogleCloudPlatform/DataflowPythonSDK/google/cloud/dataflow/transforms/ptransform.py/PTransform.clone