Block Mac Cloning

Hello ,

i’m trying to face a problem on my network , by set up the client isolation on the layer2 portion of the network ; could you help me with script that will facilate me to solve the problem ?