That would probably be cleaner as `args = Array(body['arguments'] and body['arguments].dup)` which will avoid creating two unnecessary objects when there are no arguments present.  That said, see the next comment...