Implementing Rake clone in Elixir