Read the following excerpt from a US court opinion:
```
came too late.”). The district court acted within its discretion in dismissing Adams’s duplicative complaint with prejudice and preventing her from “fragment[ing] a single cause of action and [ ] litigating] piecemeal the issues which could have been resolved in one action.” Flynn v. State Bd. of Chiropractic Exam’rs, 418 F.2d 668, 668 (9th Cir.1969) (per curiam). AFFIRMED. 1 . We note that we are affirming the district court’s dismissal on the basis that the second action was duplicative of the first, and not on the basis that the district court had the discretion to dismiss the second action as a sanction for failing to comply with the Rule 16 scheduling order issued in the first action. Cf. Atchison, Topeka, & Santa Fe Ry. Co. v. Hercules, Inc., 146 F.3d 1071, 1073-74 (9th Cir.1998) . Unlike the plaintiff in Atchison, Adams was
```
What is the most suitable continuation to the opinion? Your options are:
A. holding that district court had not abused its discretion in denying plaintiffs motion to amend complaint
B. holding that a district court retained supplemental jurisdiction over the plaintiffs statelaw claims after dismissing the plaintiffs federal claims and did not abuse its discretion by declining to remand the case to state court
C. holding that the district court abused its discretion by summarily dismissing all 26 grounds in a  2255 motion where only certain claims were vague and conclusory
D. holding that the district court did not abuse its discretion in dismissing a complaint with prejudice based on the plaintiffs failure to amend the complaint by the deadline imposed by the court
E. holding that district court abused its discretion in dismissing a secondfiled action with prejudice where plaintiffs claims against a thirdparty defendant were permissive not mandatory under federal rule of civil procedure 14
Reply with [A, B, C, D, E] only.