How to clip Xrefs and images in GstarCAD 2023

Clipit command in GstarCAD 2023 is used to clip xrefs and images with lines and curves.