See move_to_layer_full, which also gives an error.
A Clip
The new layer
true if this was successfully moved to layer.
layer