Exporting cutfem mesh to VTK

I would like to export cut elements domain-wise or for the whole mesh in VTK format. Is this possible? If so, could you provide a sample code?

Thanks in advance!