Add slice utility

Relatively compliant slice -> array