public static IoObject slotRemoveAll(IoObject target, IoObject locals, IoObject m) { IoList o = target as IoList; if (o.list != null) { o.list.Clear(); } return target; }