Remove duplicate variables from dataset