{{newin|[[11.3]]|113|type=function}}
Creates a new copy of current decoder.

The new decoder will start decoding from the beginning of the audio stream.
== Function ==
=== Synopsis ===
<source lang="lua">
decoder = Decoder:clone( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|Decoder|decoder|New copy of the decoder.}}
== See Also ==
* [[parent::Decoder]]
[[Category:Functions]]
{{#set:Description=Create new copy of existing decoder.}}
== Other Languages ==
{{i18n|Decoder:clone}}