There are some experiments in using copy-and-patch for the R language (after Python): https://dl.acm.org/doi/10.1145/3759548.3763370
From a master thesis: https://www.itspy.cz/wp-content/uploads/2025/09/it_spy_2025_...
From a master thesis: https://www.itspy.cz/wp-content/uploads/2025/09/it_spy_2025_...