Inactivation of gene expression triggered by sequence duplication