Impact of interface preparation on defect generation during wafer bonding