Similar Items: Performance of GPT-4o and Claude in Medical Ethics Scenarios: Comparative Study