One Input Event - 2 Output Events

Its clones option must contain at least one type name.

$ cat test.config 
input { stdin { } }
output { stdout { codec => rubydebug } }
filter { clone { clones => ["sometype"] } }
$ echo hello | /opt/logstash/bin/logstash -f test.config
Settings: Default pipeline workers: 8
Pipeline main started
{
       "message" => "hello",
      "@version" => "1",
    "@timestamp" => "2018-04-13T09:49:19.735Z",
          "host" => "lnxolofon"
}
{
       "message" => "hello",
      "@version" => "1",
    "@timestamp" => "2018-04-13T09:49:19.735Z",
          "host" => "lnxolofon",
          "type" => "sometype"
}
Pipeline main has been shutdown
stopping pipeline {:id=>"main"}