Fix inverse FFT mutating input array