Scientists in the Bahamas are using genetics to match the right mangrove trees to the right restoration sites. This could help coastal ecosystems store more carbon and survive climate change better.