if the input and output signals have the same channel count, they will alias each other, just like in regular single-channel objects.
You first need to copy the whole input signal to a temporary buffer (probably allocated in your object) and then copy the corresponding channels to the output signal.