Equipment for removing or retaining slag