In Go structs must be copied when used as arguments. To do so we must clone struct on VM level. This is done by appending this struct to an intermediate array.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>