Clone Segment Button

Hello,
I wanted to explore “clone” particular segment but couldn’t find the file to change clone button functionalities.

Though I’ve explored this file:-"…\Modules\Loadable\Segmentations\Widgets\qMRMLSegmentEditorWidget"

I’ve added an example for this in the script repitository: https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#clone-a-segment