Fixed passing of restrict array parameters, added docs reference for 'restrict' option