I couldn't find a better way of doing this.
```
>>> a = np.array([1,2,np.nan,4,5], dtype=np.float)
>>> m = ma.masked_invalid(a)
>>> m.fill_value = np.nan
>>> m.fill_value is np.nan
False
```