OneHotEncoder.
clone
Constructs a new component with the same parameters
random_state (int, RandomState) – the value to seed the random state with. Can also be a RandomState instance. Defaults to 0.
A new instance of this component with identical parameters