// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.0; library RMRKLib { function removeItemByValue(uint64[] storage array, uint64 value) internal { uint64[] memory memArr = array; //Copy array to memory, check for gas savings here uint256 length = memArr.length; //gas savings for (uint i; i