Domain.set_type() should be able to set the same properties as Domain.add_point() other than the coordinates