Security of attachment of stones or inlays