Remove duplicated lines.