Inline delete confirmation in datatable desktop

I want to manage the Duplicate and remove lines in a datatable without using a modal dialog or a pop up overlay.

Have you some examples of how to manage these actions within the same datatable?

enter image description here