HI @Abubakkar, To remove duplicate that you can use the below activity.
Remove the Column and Rows contiguous
Thank you Balamurugan.S