Interpolation algorithm which preserves nan values

Hi everyone.

I need to warp functional mri image into MNI space. The original space has NaN values. I would like to preserve them in the MNI space. Do you which interpolation algorithm would allow to have that ? I tried: linear and nearest neighbor but they substitute nan values with zero values. Other information: I am using AntsApplyTransform.