To reproduce: ``` python a=AnalogSignal([1,2,3]*pq.mV) b=a.duplicate_with_new_array([4,5,6]*pq.ms) --> Error: cannot convert mV to ms ```