before joining canada 's province of manitoba in 1887 , new iceland had its own constitution , which declared icelandic the official language , preserved icelandic civil law and established an elaborate social welfare system .