Only Clay for Cassoulet?

For slow-cooking the meaty, rich white-bean casserole cassoulet, is it critical to use a clay or ceramic pot, or will cast iron do just as well?

Photo by Chowhound member jayt90