Implement GROOVY-6589: a specific error message for duplicating the script body's method.