Strictly speaking, the right thing to do when somebody develops a mysterious immunity to a plague or environmental condition would be to study them, yes, but also to let that person survive to have as many children as possible. An inherited immunity may be the best chance for humanity in such a scenario.